package com.atstudent.gmall.web;

import com.atstudent.gmall.common.feign.anno.EnableFeignClientInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author 薛有朋
 * @CreatDate 2024/11/27 21:27
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients(basePackages = {
        "com.atstudent.gmall.common.feign.product" ,
        "com.atstudent.gmall.common.feign.item" ,
        "com.atstudent.gmall.common.feign.search" ,
        "com.atstudent.gmall.common.feign.cart"
})
@EnableFeignClientInterceptor
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class , args);
    }
}
